package com.atguigu.cloud.service;

import org.springframework.stereotype.Component;

/**
 * @author : zjj
 * @date : 2021/1/21 17:39
 */

@Component
public class PaymentServiceFallback implements PaymentFeignService {
    @Override
    public String paymentInfo_OK(Integer id) {
        return "我是兜底方法，paymentInfo_OK执行出错了";
    }

    @Override
    public String paymentInfo_TimeOut(Integer id) {
        return "我是兜底方法，paymentInfo_timeout 方法执行出错了";
    }
}
